package com.fire.service;

import com.fire.exception.ServiceException;
import com.fire.model.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author author
 * @since 2024-04-06
 */
public interface IAdminService extends IService<Admin> {

    /**
     * 管理员登录
     * @param admin
     * @return
     */
    String login(Admin admin) throws ServiceException;
}
